﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="RevenueMachineAccountQuery.aspx.cs" Inherits="NetDon.OA.Portal.eLogisticsQuery.RevenueMachineAccountQuery" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">

        function search() {
            $dialog('<%=ResolveUrl("~/eLogisticsQuery/ReportView.aspx") %>?ReportCode=RevenueMachineAccountQuery', { width: $common.getClientBounds().width, height: window.top.$common.getClientBounds().height - 100 }, function (result) {
                if (result) {

                }
            });
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="UpdatePanelFlow" runat="server">
        <ContentTemplate>
            <asp:Panel ID="Panel1" runat="server" DefaultButton="btnSearch">
                <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            <NetDon:FormPanel ID="PanelCondition" runat="server" CaptionAlign="NotSet" RepeatColumns="3">
                                <Items>
                                 <%--   <NetDon:FormItem HeaderText="订单编号">
                                        <ContentTemplate>
                                            <asp:TextBox ID="txtOrderCode" runat="server"></asp:TextBox>
                                        </ContentTemplate>
                                    </NetDon:FormItem>--%>
                                    <NetDon:FormItem HeaderText="运输计划号">
                                        <ContentTemplate>
                                            <asp:TextBox ID="txtTransportationPlanCode" runat="server"></asp:TextBox>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                    <NetDon:FormItem HeaderText="客户">
                                        <ContentTemplate>
                                            <asp:DropDownList ID="ddlCustomer" runat="server" DataSourceID="ObjectDataSourceCustomers"
                                                DataTextField="CustomerName" DataValueField="CustomerId" AppendDataBoundItems="true"
                                                AutoPostBack="False">
                                            </asp:DropDownList>
                                            <asp:ObjectDataSource ID="ObjectDataSourceCustomers" runat="server" OldValuesParameterFormatString="original_{0}"
                                                SelectMethod="RetrieveCustomers" TypeName="NetDon.OA.Business.MiscDataSource">
                                                <SelectParameters>
                                                    <asp:Parameter Name="areaId" />
                                                </SelectParameters>
                                            </asp:ObjectDataSource>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                 <%--  <NetDon:FormItem HeaderText="承运货物">
                                        <ContentTemplate>
                                            <asp:DropDownList ID="ddlGoodsShippedTypeId" AppendDataBoundItems="True" runat="server"
                                                DataTextField="Name" DataValueField="OID">
                                            </asp:DropDownList>
                                        </ContentTemplate>
                                    </NetDon:FormItem>--%>
                                    <NetDon:FormItem HeaderText="线路分类">
                                        <ContentTemplate>
                                            <asp:DropDownList ID="ddlRouteTypeId" DataSourceID="ddsRouteTypeId" AppendDataBoundItems="True"
                                                runat="server" DataTextField="Name" DataValueField="Value">
                                            </asp:DropDownList>
                                            <NetDon:DictionaryDataSource ID="ddsRouteTypeId" runat="server" CategoryName="线路分类"
                                                EmptyItemType="Select">
                                            </NetDon:DictionaryDataSource>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                 
                                    <NetDon:FormItem HeaderText="实际发货日期">
                                        <ContentTemplate>
                                            <asp:TextBox ID="txtReceiptInfoActualResponseDateStart" runat="server" Width="75px"></asp:TextBox>
                                            <asp:CalendarExtender ID="CalendarExtender1" runat="server" Enabled="True" TargetControlID="txtReceiptInfoActualResponseDateStart" Format="yyyy-MM-dd">
                                            </asp:CalendarExtender>
                                            <asp:Label ID="Label1" runat="server" Text="~" Style="margin-left: 5px; margin-right: 6px"></asp:Label>
                                            <asp:TextBox ID="txtReceiptInfoActualResponseDateEnd" runat="server" Width="75px"></asp:TextBox>
                                            <asp:CalendarExtender ID="CalendarExtender2" runat="server" Enabled="True" TargetControlID="txtReceiptInfoActualResponseDateEnd" Format="yyyy-MM-dd">
                                            </asp:CalendarExtender>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                    <NetDon:FormItem HeaderText="对账否">
                                        <ContentTemplate>
                                            <asp:RadioButton ID="radioIsStatementofAccountNeededAll" Checked="True" runat="server"
                                                Text="全部" GroupName="IsStatementofAccountNeeded"></asp:RadioButton>
                                            <asp:RadioButton ID="radioIsStatementofAccountNeededYes" runat="server" Text="是"
                                                GroupName="IsStatementofAccountNeeded"></asp:RadioButton>
                                            <asp:RadioButton ID="radioIsStatementofAccountNeededNo" runat="server" Text="否" GroupName="IsStatementofAccountNeeded">
                                            </asp:RadioButton>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                    <NetDon:FormItem HeaderText="开票否">
                                        <ContentTemplate>
                                            <asp:RadioButton ID="radioIsInvoiceNeededAll" Checked="True" runat="server" Text="全部"
                                                GroupName="IsInvoiceNeeded"></asp:RadioButton>
                                            <asp:RadioButton ID="radioIsInvoiceNeededYes" runat="server" Text="是" GroupName="IsInvoiceNeeded">
                                            </asp:RadioButton>
                                            <asp:RadioButton ID="radioIsInvoiceNeededNo" runat="server" Text="否" GroupName="IsInvoiceNeeded">
                                            </asp:RadioButton>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                    <NetDon:FormItem HeaderText="收款否">
                                        <ContentTemplate>
                                            <asp:RadioButton ID="radioIsAccountsReceivableAll" Checked="True" runat="server"
                                                Text="全部" GroupName="IsAccountsReceivable"></asp:RadioButton>
                                            <asp:RadioButton ID="radioIsAccountsReceivableYes" runat="server" Text="是" GroupName="IsAccountsReceivable">
                                            </asp:RadioButton>
                                            <asp:RadioButton ID="radioIsAccountsReceivableNo" runat="server" Text="否" GroupName="IsAccountsReceivable">
                                            </asp:RadioButton>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                    <NetDon:FormItem HeaderText="承运公司">
                                        <ContentTemplate>
                                            <asp:DropDownList ID="ddlCompany" runat="server" DataSourceID="ObjectDataSourceCompany"
                                                DataTextField="CompanyName" DataValueField="CompanyId" AppendDataBoundItems="true">
                                            </asp:DropDownList>
                                            <asp:ObjectDataSource ID="ObjectDataSourceCompany" runat="server" OldValuesParameterFormatString="original_{0}"
                                                SelectMethod="RetrieveCompanies" TypeName="NetDon.OA.Business.MiscDataSource">
                                            </asp:ObjectDataSource>
                                        </ContentTemplate>
                                    </NetDon:FormItem>
                                </Items>
                            </NetDon:FormPanel>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right">
                            <asp:Button ID="btnSearch" SkinID="Button60" runat="server" OnClick="btnSearch_Click"
                                Text="查询"></asp:Button>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
